package com.stegniy.binaryTree;

public class Main {
    public static void main(String[] args) {
        BinaryTree<Integer> tree = new BinaryTree<Integer>(8);
        tree.add(5);
        tree.add(7);
        tree.add(12);
        tree.add(9);
        tree.add(2);
        tree.add(1);
        tree.add(4);
        tree.add(11);
        tree.add(3);

        System.out.println(tree.contains(10));
        System.out.println(tree.contains(19));
        System.out.println(tree.contains(13));
        System.out.println(tree.size());
        System.out.println(tree.depthFirstTraversal());
        System.out.println(tree.breadthFirstTraversal());

    }
}
